package cn.com.zsw.gblog.modules.gblog.enums;

/**
 * @author ：shiwangzhou
 * @date ：Created in 2020-10-16 15:41
 * @description：
 */
public enum ResponseCode {
    /**
     * 处理成功
     */
    SUCCESS(0, "处理成功"),
    NOT_LOGIN(5003, "用户未登录"),
    ERROR(500, "服务器错误");

    private int code;
    private String message;

    ResponseCode(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
